package other.mvvm.activity.src.app_package.recyclerview

fun listMvvmViewModel(
        packageName:String,
        activityClass:String,
        adapterName:String
)="""
package ${packageName}
import cn.logicalthinking.mvvm.base.BaseViewModel
import androidx.lifecycle.MutableLiveData

class ${activityClass}ViewModel:BaseViewModel<${activityClass}Repository>() {
    override fun initRepository()= ${activityClass}Repository()
    
    var page = 1
        
    var size = 10
    
    var ${adapterName.toLowerCase()}List = MutableLiveData<MutableList<${adapterName}>>()
}
"""